<?php

class Admin_IndexController extends Zend_Controller_Action
{

    public function init()
    {
        /* Initialize action controller here */
        $this->registry = Zend_Registry::getInstance();
        $this->view = $this->registry['view'];
        $this->view->baseUrl = $this->_request->getBaseUrl();
    }

    public function indexAction()
    {
        // action body
        $this->view->bodyTitle = 'this is a admin page';
    	echo $this->view->render('index/hello.phtml');      
    }

    public function helloAction()
    {
    	$this->view->bodyTitle = 'Hello World of admin!';
    	echo $this->view->render('index/hello.phtml');
    }

}

